
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>Introduction · punctuation-converter docs</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="snowdreams1006">
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="https://unpkg.com/gitalk/dist/gitalk.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    

    <style>
    @media only screen and (max-width: 640px) {
        .book-header .hidden-mobile {
            display: none;
        }
    }
    </style>
    <script>
        window["gitbook-plugin-github-buttons"] = {"buttons":[{"user":"snowdreams1006","repo":"gitbook-plugin-punctuation-converter","type":"star","size":"small"}]};
    </script>

    
        <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
    
    
        <link rel="bookmark" href="/bookmark.ico" type="image/x-icon">
    
    
        <link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152.png">
    
    
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="/apple-touch-icon-precomposed-152.png">
    
    
        
        <link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon-120.png">
        
        <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180.png">
        
    
    
        
        <link rel="apple-touch-icon-precomposed" sizes="120x120" href="/apple-touch-icon-precomposed-120.png">
        
        <link rel="apple-touch-icon-precomposed" sizes="180x180" href="/apple-touch-icon-precomposed-180.png">
        
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    
    
        
        <li>
            <a href="https://snowdreams1006.tech/" target="_blank" class="custom-link">blog</a>
        </li>
    
    

    
    <li class="divider"></li>
    

    
        
        
    
        <li class="chapter active" data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>

    
    <li>
        
        
        
            
        
        
            <a href="http://www.beian.miit.gov.cn/" target="blank" class="gitbook-link">
                浙ICP备18042346号
            </a>
        
    </li>
    
</ul>

                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >Introduction</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                
                <div id="vip-container">
                    <h1 id="&#x6B22;&#x8FCE;&#x8BBF;&#x95EE;-gitbook-plugin-punctuation-converter-&#x5B98;&#x7F51;-&#x1F44B;">&#x6B22;&#x8FCE;&#x8BBF;&#x95EE; gitbook-plugin-punctuation-converter &#x5B98;&#x7F51; &#x1F44B;</h1>
<p><a href="https://www.npmjs.com/package/gitbook-plugin-punctuation-converter" target="_blank"><img src="https://img.shields.io/npm/v/gitbook-plugin-punctuation-converter.svg" alt="npm:version"></a>
<a href="https://www.npmjs.com/package/gitbook-plugin-punctuation-converter" target="_blank"><img src="https://img.shields.io/npm/dt/gitbook-plugin-punctuation-converter.svg" alt="npm:download"></a>
<a href="https://www.npmjs.com/package/gitbook-plugin-punctuation-converter" target="_blank"><img src="https://img.shields.io/badge/gitbook-*-blue.svg" alt="npm:prerequisite"></a>
<a href="https://github.com/snowdreams1006/gitbook-plugin-punctuation-converter#readme" target="_blank"><img src="https://img.shields.io/badge/documentation-yes-brightgreen.svg" alt="github:documentation"></a>
<a href="https://github.com/snowdreams1006/gitbook-plugin-punctuation-converter/graphs/commit-activity" target="_blank"><img src="https://img.shields.io/badge/Maintained%3F-yes-green.svg" alt="github:maintenance"></a>
<a href="https://github.com/snowdreams1006/gitbook-plugin-punctuation-converter/blob/master/LICENSE" target="_blank"><img src="https://img.shields.io/npm/l/gitbook-plugin-punctuation-converter.svg" alt="npm:license"></a>
<a href="https://github.com/snowdreams1006" target="_blank"><img src="https://img.shields.io/badge/github-snowdreams1006-brightgreen.svg" alt="github:snodreams1006"></a>
<a href="https://snowdreams1006.tech/" target="_blank"><img src="https://img.shields.io/badge/website-snowdreams1006.tech-brightgreen.svg" alt="website:snodreams1006.tech"></a>
<a href="https://snowdreams1006.github.io/snowdreams1006-wechat-public.jpeg" target="_blank"><img src="https://img.shields.io/badge/%E5%BE%AE%E4%BF%A1%E5%85%AC%E4%BC%97%E5%8F%B7-%E9%9B%AA%E4%B9%8B%E6%A2%A6%E6%8A%80%E6%9C%AF%E9%A9%BF%E7%AB%99-brightgreen.svg" alt="&#x5FAE;&#x4FE1;&#x516C;&#x4F17;&#x53F7;:&#x96EA;&#x4E4B;&#x68A6;&#x6280;&#x672F;&#x9A7F;&#x7AD9;-brightgreen.svg"></a></p>
<blockquote>
<p>&#x57FA;&#x4E8E;&#x6B63;&#x5219;&#x8868;&#x8FBE;&#x5F0F;&#x5B9E;&#x73B0;&#x5168;&#x5C40;&#x82F1;&#x6587;&#x6807;&#x70B9;&#x7B26;&#x53F7;&#x8F6C;&#x6362;&#x6210;&#x4E2D;&#x6587;&#x6807;&#x70B9;&#x7B26;&#x53F7;&#x7684; Gitbook &#x63D2;&#x4EF6;</p>
</blockquote>
<h3 id="&#x1F3E0;-&#x4E3B;&#x9875;">&#x1F3E0; <a href="https://github.com/snowdreams1006/gitbook-plugin-punctuation-converter#readme" target="_blank">&#x4E3B;&#x9875;</a></h3>
<ul>
<li>Github : <a href="https://snowdreams1006.github.io/gitbook-plugin-punctuation-converter/" target="_blank">https://snowdreams1006.github.io/gitbook-plugin-punctuation-converter/</a></li>
<li>GitLab: <a href="https://snowdreams1006.gitlab.io/gitbook-plugin-punctuation-converter/" target="_blank">https://snowdreams1006.gitlab.io/gitbook-plugin-punctuation-converter/</a></li>
<li>Gitee : <a href="https://snowdreams1006.gitee.io/gitbook-plugin-punctuation-converter/" target="_blank">https://snowdreams1006.gitee.io/gitbook-plugin-punctuation-converter/</a></li>
</ul>
<h2 id="&#x5C4F;&#x5E55;&#x622A;&#x56FE;">&#x5C4F;&#x5E55;&#x622A;&#x56FE;</h2>
<p><img src="punctuation-converter-use-preview.png" alt="punctuation-converter-use-preview.png"></p>
<h2 id="&#x7528;&#x6CD5;">&#x7528;&#x6CD5;</h2>
<h3 id="&#x6B65;&#x9AA4;&#xFF03;1---&#x66F4;&#x65B0;-bookjson-&#x6587;&#x4EF6;">&#x6B65;&#x9AA4;&#xFF03;1 - &#x66F4;&#x65B0; <code>book.json</code> &#x6587;&#x4EF6;</h3>
<p>&#x5728;&#x60A8;&#x7684; <code>gitbook</code> &#x7684; <code>book.json</code> &#x6587;&#x4EF6;&#x4E2D;,&#x5C06; <code>punctuation-converter</code> &#x6DFB;&#x52A0;&#x5230; <code>plugins</code> &#x5217;&#x8868;&#x4E2D;.</p>
<p>&#x8FD9;&#x662F;&#x6700;&#x7B80;&#x5355;&#x7684;&#x793A;&#x4F8B;: </p>
<pre><code class="lang-json">{
    <span class="hljs-string">&quot;plugins&quot;</span>: [<span class="hljs-string">&quot;punctuation-converter&quot;</span>]
}
</code></pre>
<h3 id="&#x6B65;&#x9AA4;&#xFF03;2---&#x8FD0;&#x884C;-gitbook-&#x547D;&#x4EE4;">&#x6B65;&#x9AA4;&#xFF03;2 - &#x8FD0;&#x884C; <code>gitbook</code> &#x547D;&#x4EE4;</h3>
<ol>
<li>&#x8FD0;&#x884C; <code>gitbook install</code> .&#x5B83;&#x5C06;&#x81EA;&#x52A8;&#x4E3A;&#x60A8;&#x7684; <code>gitbook</code> &#x5B89;&#x88C5; <code>punctuation-converter</code> &#x63D2;&#x4EF6;.</li>
</ol>
<blockquote>
<p>&#x8BE5;&#x6B65;&#x9AA4;&#x4EC5;&#x9700;&#x8981;&#x5141;&#x8BB8;&#x4E00;&#x6B21;&#x5373;&#x53EF;.</p>
</blockquote>
<pre><code class="lang-bash">gitbook install
</code></pre>
<p>&#x6216;&#x8005;&#x60A8;&#x53EF;&#x4EE5;&#x8FD0;&#x884C; <code>npm install gitbook-plugin-punctuation-converter</code> &#x547D;&#x4EE4;&#x672C;&#x5730;&#x5B89;&#x88C5; <code>gitbook-plugin-punctuation-converter</code> &#x63D2;&#x4EF6;.</p>
<pre><code class="lang-bash">npm install gitbook-plugin-punctuation-converter
</code></pre>
<ol>
<li>&#x50CF;&#x5F80;&#x5E38;&#x4E00;&#x6837;&#x6784;&#x5EFA;&#x60A8;&#x7684;&#x4E66;&#xFF08; <code>gitbook build</code> &#xFF09;&#x6216;&#x670D;&#x52A1;&#xFF08; <code>gitbook serve</code> &#xFF09;.</li>
</ol>
<pre><code class="lang-bash">gitbook serve
</code></pre>
<h2 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h2>
<ul>
<li>&#x5B98;&#x65B9;&#x6587;&#x6863;&#x914D;&#x7F6E;&#x6587;&#x4EF6;</li>
</ul>
<blockquote>
<p><a href="https://github.com/snowdreams1006/gitbook-plugin-punctuation-converter/blob/master/docs/book.json" target="_blank">https://github.com/snowdreams1006/gitbook-plugin-punctuation-converter/blob/master/docs/book.json</a></p>
</blockquote>
<pre><code class="lang-json">{
    <span class="hljs-string">&quot;plugins&quot;</span>: [<span class="hljs-string">&quot;punctuation-converter&quot;</span>]
}
</code></pre>
<ul>
<li>&#x5B98;&#x65B9;&#x793A;&#x4F8B;&#x914D;&#x7F6E;&#x6587;&#x4EF6;</li>
</ul>
<blockquote>
<p><a href="https://github.com/snowdreams1006/gitbook-plugin-punctuation-converter/blob/master/example/book.json" target="_blank">https://github.com/snowdreams1006/gitbook-plugin-punctuation-converter/blob/master/example/book.json</a></p>
</blockquote>
<pre><code class="lang-json">{
    <span class="hljs-string">&quot;plugins&quot;</span>: [<span class="hljs-string">&quot;punctuation-converter&quot;</span>]
}
</code></pre>
<ul>
<li>&#x793A;&#x4F8B;<code>book.json</code>&#x6587;&#x4EF6;</li>
</ul>
<pre><code class="lang-json">{
    <span class="hljs-string">&quot;plugins&quot;</span>: [<span class="hljs-string">&quot;punctuation-converter&quot;</span>]
}
</code></pre>
<p><strong>&#x6CE8;&#x610F;</strong> &#xFF1A;&#x5982;&#x679C;&#x60A8;&#x7684;&#x4E66;&#x8FD8;&#x6CA1;&#x6709;&#x521B;&#x5EFA;,&#x4EE5;&#x4E0A;&#x4EE3;&#x7801;&#x6BB5;&#x53EF;&#x4EE5;&#x7528;&#x4F5C;&#x5B8C;&#x6574;&#x7684; <code>book.json</code> &#x6587;&#x4EF6;.</p>
<h2 id="&#x4F5C;&#x8005;">&#x4F5C;&#x8005;</h2>
<p>&#x1F464; <strong>snowdreams1006</strong></p>
<ul>
<li>&#x7F51;&#x7AD9; : <a href="https://snowdreams1006.tech/" target="_blank">snowdreams1006.tech</a></li>
<li>GitHub :  <a href="https://github.com/snowdreams1006" target="_blank">@snowdreams1006</a></li>
<li>&#x7535;&#x5B50;&#x90AE;&#x4EF6; : <a href="mailto:snowdreams1006@163.com" target="_blank">snowdreams1006@163.com</a></li>
</ul>
<h2 id="&#x8D21;&#x732E;">&#x8D21;&#x732E;</h2>
<p>&#x6B22;&#x8FCE;&#x8D21;&#x732E;&#xFF0C;&#x95EE;&#x9898;&#x548C;&#x529F;&#x80FD;&#x8981;&#x6C42;&#xFF01;&#x968F;&#x65F6;&#x68C0;&#x67E5;<a href="https://github.com/snowdreams1006/gitbook-plugin-punctuation-converter/issues" target="_blank">&#x95EE;&#x9898;&#x9875;&#x9762;</a> &#x3002;</p>
<h2 id="&#x652F;&#x6301;">&#x652F;&#x6301;</h2>
<p>&#x5982;&#x679C;&#x8FD9;&#x4E2A;&#x9879;&#x76EE;&#x5BF9;&#x60A8;&#x6709;&#x5E2E;&#x52A9;&#xFF0C;&#x8BF7;&#x7ED9;&#x4E2A;<a href="https://github.com/snowdreams1006/gitbook-plugin-punctuation-converter" target="_blank">&#x661F;&#x661F;</a> &#xFF01;</p>
<h2 id="&#x7248;&#x6743;">&#x7248;&#x6743;</h2>
<p>&#x7248;&#x6743;&#x6240;&#x6709;&#xA9;2019 <a href="https://github.com/snowdreams1006" target="_blank">snowdreams1006</a> &#x3002;</p>
<p>&#x8BE5;&#x9879;&#x76EE;&#x662F;<a href="https://github.com/snowdreams1006/gitbook-plugin-punctuation-converter/blob/master/LICENSE" target="_blank">MIT</a>&#x8BB8;&#x53EF;&#x7684;&#x3002;</p>
<pre><code class="lang-html">Author: snowdreams1006
Url: https://snowdreams1006.github.io/gitbook-plugin-punctuation-converter/
Source: snowdreams1006.tech
This article was originally published in&#x300C;snowdreams1006.tech&#x300D;,Reproduced please indicate the source, thank you for cooperation!
</code></pre>
<p><img src="https://snowdreams1006.github.io/snowdreams1006-wechat-open.png" alt="https://snowdreams1006.github.io/snowdreams1006-wechat-open.png"></p>
<div id="gitalk-container"></div>
                </div>
                <script src="https://my.openwrite.cn/js/readmore.js"></script>
                <script>
                    var enablePlugin = false;
                    var allowDomain = "localhost";
                    if(allowDomain){
                        var currentDomain = location.hostname;
                        if ($.isArray(allowDomain)) {
                            $.each(allowDomain, function(index, item) {
                                if (currentDomain == item) {
                                    enablePlugin = true;
                                    return false;
                                }
                            });
                        }else{
                           if (currentDomain == allowDomain) {
                                enablePlugin = true;
                            }
                        }
                    }else{
                        enablePlugin = true;
                    }
                    
                    if(enablePlugin){
                        var isMobile = navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i);
                        if (!isMobile) {
                            var btw = new BTWPlugin();
                            btw.init({"allowDomain":"localhost","blogId":"15702-1569305559839-744","name":"雪之梦技术驿站","qrcode":"https://snowdreams1006.github.io/snowdreams1006-wechat-public.jpeg","keyword":"vip","id":"vip-container"});
                        }
                    }
                </script>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"Introduction","level":"1.1","depth":1,"dir":"ltr"},"config":{"plugins":["favicon-absolute","github-buttons","edit-link-plus","copy-code-button","readmore","copyright","mygitalk","icp","punctuation-converter"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"copyright":{"copyProtect":false,"site":"https://snowdreams1006.github.io/gitbook-plugin-punctuation-converter","author":"snowdreams1006","website":"snowdreams1006.tech","image":"https://snowdreams1006.github.io/snowdreams1006-wechat-open.png"},"search":{},"edit-link-plus":{"label":"Edit This Page","base":{"snowdreams1006.github.io":"https://github.com/snowdreams1006/gitbook-plugin-punctuation-converter/edit/master/docs","snowdreams1006.gitlab.io":"https://gitlab.com/snowdreams1006/gitbook-plugin-punctuation-converter/edit/master/docs","snowdreams1006.gitee.io":"https://gitee.com/snowdreams1006/gitbook-plugin-punctuation-converter/edit/master/docs"},"defaultBase":"https://github.com/snowdreams1006/gitbook-plugin-punctuation-converter/edit/master/docs"},"readmore":{"allowDomain":"localhost","blogId":"15702-1569305559839-744","name":"雪之梦技术驿站","qrcode":"https://snowdreams1006.github.io/snowdreams1006-wechat-public.jpeg","keyword":"vip"},"punctuation-converter":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"favicon-absolute":{"appleTouchIconMore":{"120x120":"/apple-touch-icon-120.png","180x180":"/apple-touch-icon-180.png"},"appleTouchIconPrecomposed152":"/apple-touch-icon-precomposed-152.png","appleTouchIconPrecomposedMore":{"120x120":"/apple-touch-icon-precomposed-120.png","180x180":"/apple-touch-icon-precomposed-180.png"},"favicon":"/favicon.ico","bookmark":"/bookmark.ico","appleTouchIcon152":"/apple-touch-icon-152.png"},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"icp":{"link":"http://www.beian.miit.gov.cn/","style":{},"number":"浙ICP备18042346号"},"github-buttons":{"buttons":[{"user":"snowdreams1006","repo":"gitbook-plugin-punctuation-converter","type":"star","size":"small"}]},"copy-code-button":{},"mygitalk":{"flipMoveOptions":{},"clientID":"7285a4a5cccd7ae00755","number":-1,"perPage":10,"proxy":"https://cors-anywhere.herokuapp.com/https://github.com/login/oauth/access_token","admin":["snowdreams1006"],"createIssueManually":false,"distractionFreeMode":false,"repo":"gitbook-plugin-punctuation-converter","owner":"snowdreams1006","enableHotKey":true,"clientSecret":"ee7109bb13c0b334cb36bf9ad48ce55f6e980cea","pagerDirection":"last","labels":["Gitalk"]},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"snowdreams1006","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"punctuation-converter docs","links":{"sidebar":{"blog":"https://snowdreams1006.tech/"}},"gitbook":"3.2.3","description":"gitbook-plugin-punctuation-converter docs"},"file":{"path":"README.md","mtime":"2020-03-26T18:23:30.054Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-03-28T12:35:22.806Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-github-buttons/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-edit-link-plus/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-copy-code-button/toggle.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-copyright/plugin.js"></script>
        
    
        
        <script src="https://cdn.bootcss.com/blueimp-md5/2.12.0/js/md5.min.js"></script>
        
    
        
        <script src="https://unpkg.com/gitalk/dist/gitalk.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-mygitalk/mygitalk.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

